package com.kuyun.entity;

import java.util.Date;

public class UserComment {
	/*
	 * 用户话题记录
	 */
	private Integer id;// 话题ID
	private String userId;// 用户ID
	private String userName;// 用户名
	private String comment;// 话题内容
	private Date curDate;// 发表时间
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public Date getCurDate() {
		return curDate;
	}
	public void setCurDate(Date curDate) {
		this.curDate = curDate;
	}
	
	public UserComment(Integer id, String userId, String userName, String comment, Date curDate) {
		super();
		this.id = id;
		this.userId = userId;
		this.userName = userName;
		this.comment = comment;
		this.curDate = curDate;
	}
	
	public UserComment() {
		super();
	}
	@Override
	public String toString() {
		return "UserComment [id=" + id + ", userId=" + userId + ", userName=" + userName + ", comment=" + comment
				+ ", curDate=" + curDate + "]";
	}

}
